const express = require('express')
const router = express.Router()
const bigScreen_handler = require('../router_handler/bigScreen')

//公司列表
router.get('/getCompany',bigScreen_handler.getCompany)
//能源总览
router.post('/getOverview',bigScreen_handler.getOverview)
//发电/用电量及碳减排量趋势图
router.post('/getTrend',bigScreen_handler.getTrend)
//用水量统计趋势
router.post('/getWaterTrend',bigScreen_handler.getWaterTrend)
//地图
router.get('/getMap',bigScreen_handler.getMap)
//充电次数统计趋势
router.post('/getPower',bigScreen_handler.getPower)
//充电总量统计趋势
router.post('/getPowerTotal',bigScreen_handler.getPowerTotal)
//燃气量统计趋势
router.post('/getGas',bigScreen_handler.getGas)
//公司数据
router.post('/getCompanyData',bigScreen_handler.getCompanyData)
//小区列表
router.get('/getApartment',bigScreen_handler.getApartment)
//能耗总览
router.post('/getConsumptionOverview',bigScreen_handler.getConsumptionOverview)
//年度能源计划
router.post('/getPlan',bigScreen_handler.getPlan)
//本月能耗排行
router.post('/getOrder',bigScreen_handler.getOrder)
//每月能耗总览
router.post('/getMonthEnergy',bigScreen_handler.getMonthEnergy)
//各能耗月对比
router.post('/getMonthCompare',bigScreen_handler.getMonthCompare)
//月度能耗分析
router.post('/getAnalysis',bigScreen_handler.getAnalysis)


module.exports = router
